Fix static analysis defects
authorJohn Tsichritzis <john.tsichritzis@arm.com>
Thu, 16 Aug 2018 13:37:40 +0000 (14:37 +0100)
committerJohn Tsichritzis <john.tsichritzis@arm.com>
Wed, 26 Sep 2018 13:12:29 +0000 (14:12 +0100)
commitfa06b744305be8538f4908e86ef563ff15b898e7
treeb051dc51265971e41c4f06d2b1827bcd21c8c077
parent9068257ea7e0242214f9e833410d9b3fc8bcbe45
Fix static analysis defects

Fixed a Coverity defect by adding a runtime check to avoid potential
NULL pointer dereference.

Change-Id: I9a0aa0efd27334131ac835b43348658b436c657d
Signed-off-by: John Tsichritzis <john.tsichritzis@arm.com>
plat/arm/css/sgi/sgi_image_load.c